import request from "@/utils/request.js";

// 查询试卷列表
export function getTextPagerListApi(params) {
  return request({
    url: "/edu/paperManagement/list",
    method: "POST",
    params,
  });
}

// 删除试卷
export function delTextPagerApi(params) {
  return request({
    url: "/edu/paperManagement/remove",
    method: "POST",
    params,
  });
}

// 修改试卷
export function editTextPagerApi(params) {
  return request({
    url: "/edu/paperManagement/update",
    method: "POST",
    params,
  });
}

// 添加试卷
export function addTextPagerApi(params) {
  return request({
    url: "/edu/paperManagement/add",
    method: "POST",
    params,
  });
}

// 自动分卷
export function addAutoApi(params) {
  return request({
    url: "/edu/paperManagement/auto/add",
    method: "POST",
    params,
  });
}
